/* wangeditor 富文本编辑器
------------------------------- */
.editor-container {
	z-index: 10; // 用于 wangeditor 点击全屏时
	.w-e-toolbar {
		border: 1px solid var(--el-border-color-light, #ebeef5) !important;
		border-bottom: 1px solid var(--el-border-color-light, #ebeef5) !important;
		border-top-left-radius: 3px;
		border-top-right-radius: 3px;
		z-index: 2 !important;
	}
	.w-e-text-container {
		border: 1px solid var(--el-border-color-light, #ebeef5) !important;
		border-top: none !important;
		border-bottom-left-radius: 3px;
		border-bottom-right-radius: 3px;
		z-index: 1 !important;
	}
}

[data-theme='dark'] {
	// textarea - css vars
	--w-e-textarea-bg-color: var(--el-color-white) !important;
	--w-e-textarea-color: var(--el-text-color-primary) !important;

	// toolbar - css vars
	--w-e-toolbar-color: var(--el-text-color-primary) !important;
	--w-e-toolbar-bg-color: var(--el-color-white) !important;
	--w-e-toolbar-active-color: var(--el-text-color-primary) !important;
	--w-e-toolbar-active-bg-color: var(--next-color-menu-hover) !important;
	--w-e-toolbar-border-color: var(--el-border-color-light, #ebeef5) !important;

	// modal - css vars
	--w-e-modal-button-bg-color: var(--el-color-primary) !important;
	--w-e-modal-button-border-color: var(--el-color-primary) !important;
}

/*cb add*/
.body-container {
	:deep(.el-card__body) {
		display: flex;
		flex-direction: column;
		flex: 1;
		overflow: auto;
		.el-table {
			flex: 1;
		}
	}
}
table.mytable{
	width: 100%;
	border-collapse: collapse;
	margin: 0 auto;
	text-align: left;
	table-layout: fixed;
	font-size: 14px;
	td,
	th{
		border: 1px solid #cccccc;
		color: #333333;
		height: 30px;
		line-height: 30px;
		word-break: break-all;
		word-wrap: break-word;
		text-indent: 2px;
		padding: 3px;
	}
	th{
		background-color: #ffffff;
		font-weight: 800;
	}
	td{
		background:none;
	}
}
.tac{
	text-align: center;
}
.mt_5{
	margin-top: 5px;
}

.el-table--default .el-table__cell{
	padding: 3px !important;
}
.el-table--default .cell{
	padding: 0 5px !important;
}
